package com.frank.stock4j.tusharepro.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDate;
import com.frank.stock4j.tusharepro.bean.FundNavBean;

/**
* 描述：获取公募基金净值数据
* @author: codesmith
**/
@Data
@TableName("fund_nav")
public class FundNavEntity implements FundNavBean {
    
    /*
    * TS代码
    */
    @TableId
    @TableField("`ts_code`") protected String tsCode;

    @TableField("`ann_date`") protected LocalDate annDate;
    /*
    * 截止日期
    */
    @TableId
    @TableField("`end_date`") protected LocalDate endDate;

    @TableField("`unit_nav`") protected Double unitNav;

    @TableField("`accum_nav`") protected Double accumNav;

    @TableField("`accum_div`") protected Double accumDiv;

    @TableField("`net_asset`") protected Double netAsset;

    @TableField("`total_netasset`") protected Double totalNetasset;

    @TableField("`adj_nav`") protected Double adjNav;
}